package com.example.administrator.daydayappmarket.game.fragment.fragments.choiceness.bean;

import android.content.Context;
import android.util.AttributeSet;

import com.example.administrator.daydayappmarket.recommend.view.MyGridView;

/**
 * Created by 郎志奇 on 2016/12/27.
 */

public class MyGridViewGameChoice extends MyGridView {
    public MyGridViewGameChoice(Context context) {
        super(context);
    }

    public MyGridViewGameChoice(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        heightMeasureSpec=MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE>>2,MeasureSpec.AT_MOST);
        super.onMeasure(widthMeasureSpec, heightMeasureSpec);
    }
}
